package bgate.hung.framework;

import android.graphics.Bitmap;

public class Button {
	protected Bitmap bitmap1;
	protected Bitmap bitmap2;
	protected Bitmap bitmap;
	protected int x;
	protected int y;
	
	public Button(Bitmap bitmap1, Bitmap bitmap2, int x, int y) {
		this.bitmap1 = bitmap1;
		this.bitmap2 = bitmap2;
		this.bitmap = this.bitmap1;
		this.x = x;
		this.y = y;
	}
	
	public Button(Bitmap bitmap, int x, int y) {
		this.bitmap = bitmap;
		this.x = x;
		this.y = y;
	}
	
	public int getWidth() {
		return bitmap.getWidth();
	}
	
	public int getHeight() {
		return bitmap.getHeight();
	}
	
	public int getX() {
		return x;
	}
	
	public int getY() {
		return y;
	}
	
	public void setX(int x) {
		this.x = x;
	}
	
	public void setY(int y) {
		this.y = y;
	}
}
